﻿Imports Microsoft.VisualBasic

Public Class Estudiante

#Region "Atributo"

    Private _personaId As Integer
    Private _matricula As Integer
    Private _colegioAnterior As String

#End Region

#Region "Propiedades"

    Property EstudianteId() As Integer
        Get
            Return _personaId
        End Get
        Set(ByVal Value As Integer)
            _personaId = Value
        End Set
    End Property

    Property ColegioAnterior() As String
        Get
            Return _colegioAnterior
        End Get
        Set(ByVal Value As String)
            _colegioAnterior = Value
        End Set
    End Property

    Property matricula() As String
        Get
            Return _matricula
        End Get
        Set(ByVal Value As String)
            _matricula = Value
        End Set
    End Property

#End Region

#Region "Constructor"

    Public Sub New(ByVal personaId As Integer, ByVal colegioAnterior As String, ByVal matricula As Integer)
        Me._personaId = personaId
        Me._colegioAnterior = colegioAnterior
        Me._matricula = matricula
    End Sub

#End Region


End Class
